package com.bigdata.demo.entity;

public class Container {
    private String container_name;
    private String container_type = "nginx";
    private String container_number = "1";
    private String container_namespace = "bigdata-platform";
    private String container_cpu = "100";
    private String container_mem = "100";
    private String container_volume = "/home/bigdata_platform/docker_data";

    public String getContainer_name() {
        return container_name;
    }

    public void setContainer_name(String container_name) {
        this.container_name = container_name;
    }

    public String getContainer_type() {
        return container_type;
    }

    public void setContainer_type(String container_type) {
        this.container_type = container_type;
    }

    public String getContainer_number() {
        return container_number;
    }

    public void setContainer_number(String container_number) {
        this.container_number = container_number;
    }

    public String getContainer_namespace() {
        return container_namespace;
    }

    public void setContainer_namespace(String container_namespace) {
        this.container_namespace = container_namespace;
    }

    public String getContainer_cpu() {
        return container_cpu;
    }

    public void setContainer_cpu(String container_cpu) {
        this.container_cpu = container_cpu;
    }

    public String getContainer_mem() {
        return container_mem;
    }

    public void setContainer_mem(String container_mem) {
        this.container_mem = container_mem;
    }

    public String getContainer_volume() {
        return container_volume;
    }

    public void setContainer_volume(String container_volume) {
        this.container_volume = container_volume;
    }

    public Container(String container_name) {
        this.container_name = container_name;
        this.container_type = "nginx";
        this.container_number = "1";
        this.container_namespace = "bigdata-platform";
        this.container_cpu = "100";
        this.container_mem = "100";
        this.container_volume = "/home/bigdata_platform/docker_data";
    }

    public Container(String container_name, String container_type, String container_number, String container_namespace, String container_cpu, String container_mem, String container_volume){
        this.container_name = container_name;
        this.container_type = container_type;
        this.container_number = container_number;
        this.container_namespace = container_namespace;
        this.container_cpu = container_cpu;
        this.container_mem = container_mem;
        this.container_volume = container_volume;
    }

    @Override
    public String toString() {
        return "Container{" +
                "container_name='" + container_name + '\'' +
                ", container_type='" + container_type + '\'' +
                ", container_number='" + container_number + '\'' +
                ", container_namespace='" + container_namespace + '\'' +
                ", container_cpu='" + container_cpu + '\'' +
                ", container_mem='" + container_mem + '\'' +
                ", container_volume='" + container_volume + '\'' +
                '}';
    }
}
